package com.bridgeintelligent.tag.mapper;

import org.apache.ibatis.annotations.*;


/**
 * 上传Hdfs文件日志记录
 */
@Mapper
public interface UploadHfdsLogMapper {
    @Insert("insert into TAG_UPLOAD_HDFS_LOG(ID, FILETYPE, STATUS,CREATE_TIME)" +
            "values(#{id},#{filetype},#{status},#{createTime})")
    void add(@Param("id")String id,@Param("filetype")String filetype,@Param("status")String status,@Param("createTime")String createTime);
    @Delete("delete from TAG_UPLOAD_HDFS_LOG where id = #{id}")
    int del(@Param("id")String id);
}